﻿using Granite.Commons;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Granite.Commons.net40_Tests
{


    [TestClass()]
    public class XamlUtilitiesTests
    {


        [TestMethod()]
        public void CreateXamlTest()
        {
            object source = null; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = XamlUtilities.CreateXaml(source);
            Assert.AreEqual(expected, actual);
        }

        public void ParseXamlTestHelper<T>()
        {
            string xamlString = string.Empty; // TODO: Initialize to an appropriate value
            T expected = default(T); // TODO: Initialize to an appropriate value
            T actual;
            actual = XamlUtilities.ParseXaml<T>(xamlString);
            Assert.AreEqual(expected, actual);
        }

        [TestMethod()]
        public void ParseXamlTest()
        {
            ParseXamlTestHelper<GenericParameterHelper>();
        }

        [TestMethod()]
        public void ParseXamlTest1()
        {
            string xamlString = string.Empty; // TODO: Initialize to an appropriate value
            object expected = null; // TODO: Initialize to an appropriate value
            object actual;
            actual = XamlUtilities.ParseXaml(xamlString);
            Assert.AreEqual(expected, actual);
        }
    }
}
